package org.jeecg.modules.zcglRecipients.service;

import org.jeecg.modules.zcglRecipients.entity.ZcglRecipientsAssets;
import org.jeecg.modules.zcglRecipients.entity.ZcglRecipients;
import com.baomidou.mybatisplus.extension.service.IService;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;
import java.util.Map;

/**
 * @Description: 资产领用
 * @Author: jeecg-boot
 * @Date:   2022-10-24
 * @Version: V1.0
 */
public interface IZcglRecipientsService extends IService<ZcglRecipients> {
	int totayCount();
	List<ZcglRecipients> listByAsset(Map map);
	/**
	 * 添加一对多
	 *
	 */
	public String  saveMain(ZcglRecipients zcglRecipients,List<ZcglRecipientsAssets> zcglRecipientsAssetsList) ;

	/**
	 * 修改一对多
	 *
	 */
	public void updateMain(ZcglRecipients zcglRecipients,List<ZcglRecipientsAssets> zcglRecipientsAssetsList);

	/**
	 * 删除一对多
	 */
	public void delMain (String id);

	/**
	 * 批量删除一对多
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);

}
